.. _spiralling_spots: Spiralling spots ================================= Purpose: to show usage of :ref:`python preparser with meta-input code `. **Meta-input file** .. literalinclude:: looper.inp The python preparser generates the following input file (look into ``out/log/run.inp``): .. literalinclude:: run.inp Results: here the technique is to keep fixed the main beam and move the phantom after each spot. The resulting irradiation pattern on the phantom looks like: .. figure:: spiralling_spots.png :alt: spiralling spots :align: center :width: 75% Irradiation pattern made with spiralling spots (log scale)